﻿using System;

namespace DAL.Mongo.Common
{
    internal class Loop
    {
        public static void Start(Action act, int iterations = 1000000)
        {
            var i=0;
            while (i++ <= iterations)
            {
                act();
            }
        }
    }
}
